package com.zerous.staria;
import android.util.*;
//import java.util.function.*;

public class ID
{
	//Function fc;
	int id, kind;
	String name;
	public ID(int id, int kind)
	{
		this.id = id;
		this.kind = kind;
	}

	public ID(String i)
	{
		String[] c = i.split(":");
		for(int s = 0;s < c.length;++s)
		{
			c[s] = c[s].trim();
		}

		id = Integer.valueOf(c[0]);
		kind = Integer.valueOf(c[1]);
	}
	
	
	
	public ID setName(String n)
	{
		name = n;
		return this;
	}
}
